package com.web.common.document.entity;

import javax.validation.constraints.NotNull;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class DocumentContentEntity extends DocumentContent {

	/** 文档章节Id */
	@NotNull(message = "未选择文档章节")
    @Schema(title = "文档章节Id")
	private Integer chapterId;
	
	/** 文档内容字符串 */
    @Schema(title = "文档内容字符串")
	private String contentText;
}
